package newfeature.jdk8;

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;

/**
 * Created by dl
 */
public class NashornJsEngine {
	public static void main(String[] args) {
		ScriptEngineManager manager = new ScriptEngineManager();
		ScriptEngine engine = manager.getEngineByName("JavaScript");
		System.out.println(engine.getClass().getName());
	}
}
